package Com.amit.corejava;

class D
{
	D()
	{
		System.out.println("Parent class constructor is invoked");
	}
}


public class Lab49  extends D{
	
	Lab49()
	{
		super();
		System.out.println("child class constructor is invoked");
	}
	
	Lab49(int j)
	{
		super();
		System.out.println(" parameterized child class constructor is invoked"+j);
	}
	
	{
		System.out.println("instance block is called");
	}
	
	{
		System.out.println("Instance block");
	}
	public static void main(String[] args) {
		
		Lab49 L=new Lab49();
		Lab49 l1=new Lab49(10);
		
		

	}

}
